﻿
using Core.Domain.Common;
using System.Data.Entity.ModelConfiguration;
namespace Data.Mapping.Common
{
    public partial class ScaleMap : EntityTypeConfiguration<Scale>
    {
        public ScaleMap()
        {
            this.ToTable("Scale");
            this.HasKey(s => s.Id);
            this.Property(s => s.Name).IsRequired().HasMaxLength(200);
        }
    }
}
